Use PEAddParameterDefaultValue to add a value to the group of default values for the specified parameter in a report.
BOOL CRPE_API PEAddParameterDefaultValue (
short printJob,
const char FAR *parameterFieldName,
const char FAR *reportName,
PEValueInfo FAR *valueInfo );
Specifies the print job to which you want to add a parameter default value. | |
Specifies a pointer to the name of the parameter field to which the default value will be added. | |
Specifies a pointer to PEValueInfo which will contain the added default value. |
Regarding parameter reportName:
Declare Function PEAddParameterDefaultValue Lib "crpe32.dll" ( _
ByVal printJob As Integer, ByVal parameterFieldName As String, _
ByVal reportName As String, valueInfo As PEValueInfo ) As Integer
procedure PEAddParameterDefaultValue (
printJob: smallint;
const parameterFieldName: PChar;
const reportName: PChar;
var valueInfo: PEValueInfo
): BOOL stdcall;
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |